/**
 * Created with IntelliJ IDEA.
 * User: kristborga
 * Date: 16.3.2013
 * Time: 13:09
 * To change this template use File | Settings | File Templates.
 */

function hideshow(item){
    $("#" + item).is(":visible") ? $("#" + item).hide() : $("#" + item).show();
}

function hideshowFade(item){
    $("#" + item).is(":visible") ? $("#" + item).fadeOut() : $("#" + item).fadeIn();
}
function hideAll(className,val){
    $("." + className).slideUp();
    $("#show"+val).show();
    $("#hide"+val).hide();
}
//val is the day we want to show/hide. 1 means monday, 2, tuesday etc. 5 means friday
function ShowAll(className,val){
    $("." + className).slideDown();
    $("#show"+val).hide();
    $("#hide"+val).show();
}

function SlideUpSlideDownById(item){
    $("#" + item).is(":visible") ? $("#" + item).slideUp() : $("#" + item).slideDown();
}


$(function(){
    $("#vidNem").hide();
})